#pragma once
#include "autocompl.h"

class CXXAutoComplete :
	public CAutoComplete
{
public:
	CXXAutoComplete(void);
public:
	~CXXAutoComplete(void);


public:
	// helper fns you can override but shouldn't need to
	virtual UINT GetMatches(LPCTSTR pszText, CStringArray& arMatches,
		BOOL bFirstOnly=FALSE);
	virtual void OnFirstString();
	virtual BOOL OnNextString(CString& sNext);
	virtual BOOL OnMatchString(const CString& s, const CString& sMatch);
	virtual BOOL IgnoreCompletion(CString s);

	void SetCompleteVector(VectorKey vk);

protected:
	VectorKey m_vkCompleteString;
};
